<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.boc.image.web.UserRegister"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.HashMap"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>好多图免费图片外链空间</title>
<meta name="copyright" content= "免费图片空间上传 Copyright(c) 2011" />
<meta name="application-name" content="免费图片空间上传" />
<meta name="keywords" content="淘宝相册|免费相册|外链免费相册|淘宝图片空间|淘宝免费相册|淘宝外链相册|免费可外链相册|图片外链网站" /> 
<meta name="description" content="专业淘宝相册,外贸相册,提供稳定的淘宝图片存储空间，支持相册批量上传、批量贴图。中国唯一的彻底免费的淘宝免费相册。">
<link type="text/css" href="../css/register.css" rel="stylesheet"/>
</head>
<body bgcolor="#CCCCCC">
<div class="center">
	<div class="top">
		<div style="width:300px; float:left; line-height:30px; height:30px; margin-left:5px;">
			<marquee scrolldelay="250" onMouseOver="this.stop();" onMouseOut="this.start();">
				<a href="login.html">欢迎登陆！免费注册 享用200MB免费相册空间！</a> 
			</marquee>
		</div>
		<div style="width:300px; float:right; line-height:30px; height:30px; margin-right:15px; text-align:right;">
			<a href="../index.html">首页</a> | <a href="login.html">用户登陆</a> | <a href="register.html">用户注册</a>
		
		</div>
	</div>
	<div class="title">
		<div class="title_left">
			<div class="title_left_top">
				<div class="title_left_top1"></div>
				<div class="title_left_top2"></div>
				<div class="title_left_top3"></div>
			</div>
			<div class="title_left_bottom">
				<div class="title_left_bottom1"></div>
				<div class="title_left_bottom2" style="text-align:center">
					<div style="width:118px; float:left; height:35px; line-height:33px; color:#fcff00; font-size:14px; font-weight:bold;"><span style="cursor:pointer;" onClick="window.location.href='../index.html'">&nbsp;首&nbsp;&nbsp;&nbsp;&nbsp;页</span></div>
					<div style="width:118px; float:left; height:35px; line-height:33px; color:#FFFFFF; font-size:14px; font-weight:bold;"><span style="cursor:pointer;" onMouseOver="this.style.color='#fcff00'" onMouseOut="this.style.color='#fff'" onClick="window.location.href='/core'">&nbsp;管理页面</span></div>
				</div>
			</div>
		</div>
		<div class="title_right"></div>
	</div>
	<div class="body">
		<div class="body_left">
			<div class="body_left_top">
				<table width="518" height="414" border="0" cellspacing="0">
				  <tr>
					<td height="45" align="center" valign="bottom" style="font-size:20px; font-family:'黑体'; color:#0d7fa4;">用户注册账号激活提示</td>
				  </tr>
				  <tr>
					<td height="30" align="center" style="font-family:'黑体'; color:#0d7fa4; font-size:14px"><i>还等什么？激活账户，享受好“多图给”你带来的快乐！</i></td>
				  </tr>
				  <tr>
					<td height="339" align="center" style=" color:#FF0000; font-size:14px" valign="middle" id="message">

						<%
							String userName = request.getParameter("UserName");
							String code = request.getParameter("code");
							String key = request.getParameter("key");
							if(userName == null || code == null || key == null){
								%>
									<font color=red><i>参数错误!</i></font><BR><BR>
									<a href="../index.html"><i>返回首页</i></a>
								<%
							}else{
								Map parameter = new HashMap();
								parameter.put("cLogin",userName);
								parameter.put("cLoginpass",code);
								parameter.put("cSessionid",key);
								UserRegister ur = new UserRegister();
								Map result = ur.UserActivation(parameter);
								Object pn_ret = result.get("PN_RET");
								if(pn_ret != null && pn_ret.toString().equals("0")) {
									%>
										<a href="login.html">恭喜你，账户激活成功！点击进入登陆页面</a>
									<%
								}else{
									if(pn_ret != null){
										%>
											<%=result.get("PC_MSG") %>
										<%
									}else{
										%>
											<font color=red><i>服务器脚本错误!</i></font><BR><BR>
										<%
									}
								}
							}
						%>
				    </td>
				  </tr>
			  </table>

			</div>
			<div class="body_left_line"></div>
			<div class="body_left_buttom"></div>
			<div class="body_left_bottom"></div>
		</div>
		<div class="body_right">
			<div class="body_right_top">
				<table width="455" border="0" height="128" cellspacing="0">
				  <tr>
					<td align="left" valign="middle">
						<ul style="margin-left:50px; line-height:20px;">
							<li>200MB相册空间！永久免费使用！</li>
							<li>支持淘宝、拍拍、ebay网店等众多主流购物网站！</li>
							<li>一键搬家、单产品搬家！</li>
							<li>图片无水印，完美支持GIF！</li>
						</ul>
					</td>
				  </tr>
				</table>

			</div>
			<div class="body_right_img"></div>
		</div>
	</div>
	
	<div class="bottomline"></div>
	<div class="bottom"></div>
</div>
</body>
</html>